<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>xsec.io日志审计系统</title>
<link rel="stylesheet" type="text/css" href="{{ static_url("css/bootstrap.css") }}">
</head>
<body>
  <script src="{{ static_url("js/bootstrap.js") }}"></script>
<h3>日志信息列表</h3>
<table class="table table-striped table-bordered table-hover table-condensed">
{% for log in log_summer%}
	 <tr><td><a href="/log_type/?log_type={{ log[0] }}">{{ log[0] }} </b></a></tr>
{% end %}
</table>
<h3>日志信息</h3>
<div class="pagination pagination-large">
  <ul>
    {% if page > 1 %}
      <li class="disabled"><a href="/?page={{ page - 1 }}">Previous</a></li>
    {% else %}
      <li class="disabled"><a href="/?page={{ 1 }}"> Previous</a></li>
    {% end %}

    <li class="disabled"><a href="/?page={{ 1 }}">min</a></li>
    <li class="active"><a href="/?page={{ page }}">{{ page }}</a></li>
    <li class="disabled"><a href="/?page={{ pages }}">max</a></li>

    {% if page < pages %}
      <li class="disabled"><a href="/?page={{ page + 1 }}">Next</a></li>
    {%else%}
      <li class="disabled"><a href="/?page={{ pages }}">Next</a></li>
    {% end %}
  </ul>
</div>
<table class="table table-hover condensed table-bordered">
  <tr class="info">
    <td>EventRecordID<td>time<td>EventID<td>Level<td>log_type<td>Provider<td>Computer<td>user<td>eventdata
  </tr>
  <tr><td>
  </tr>
  {% for info in log_info %}
  <tr>
    <td> {{ info[0] }}
    <td> {{ info[1] }}
    <td> {{ info[2] }}
    <td> {{ info[3] }}
    <td> {{ info[4] }}
    <td> {{ info[5] }}
    <td> {{ info[6] }}
    <td> {{ info[7] }}
    <td> {{ info[8] }}
  </tr>
  {% end %}
</table>
<div class="pagination pagination-large">
  <ul>
    {% if page > 1 %}
      <li class="disabled"><a href="/?page={{ page - 1 }}">Previous</a></li>
    {% else %}
      <li class="disabled"><a href="/?page={{ 1 }}"> Previous</a></li>
    {% end %}
    
    <li class="disabled"><a href="/?page={{ 1 }}">min</a></li>
    <li class="active"><a href="/?page={{ page }}">{{ page }}</a></li>
    <li class="disabled"><a href="/?page={{ pages }}">max</a></li>

    {% if page < pages %}
      <li class="disabled"><a href="/?page={{ page + 1 }}">Next</a></li>
    {%else%}
      <li class="disabled"><a href="/?page={{ pages }}">Next</a></li>
    {% end %}
  </ul>
</div>
 </body>
 </html>
 